package com.ruoyi.asktreat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 治疗管理对象 ask_treat
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
public class AskTreat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 治疗编号 */
    private Long treatId;

    /** 治疗编号 */
    @Excel(name = "治疗编号")
    private String treatCode8;

    /** 治疗了问诊人 */
    @Excel(name = "治疗了问诊人")
    private String treatOpenid;

    /** 治疗详情 */
    @Excel(name = "治疗详情")
    private String treatText;

    /** 治疗备注 */
    @Excel(name = "治疗备注")
    private String treatRemark;

    /** 关联案例id */
    @Excel(name = "关联案例id")
    private Long treatCaseid;

    /** 关联病uuid号 */
    private String treatCaseuuid;

    /** 医生id */
    @Excel(name = "医生id")
    private String treatDoctorid;

    /** 医生签名 */
    @Excel(name = "医生签名")
    private String treatDoctorname;

    /** 人体模型正面 */
    private Integer treatFrontpoint;

    /** 人体模型背面 */
    private Integer treatBackpoint;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date treatCreatetime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date treatUpdatetime;

    public void setTreatId(Long treatId) 
    {
        this.treatId = treatId;
    }

    public Long getTreatId() 
    {
        return treatId;
    }
    public void setTreatCode8(String treatCode8) 
    {
        this.treatCode8 = treatCode8;
    }

    public String getTreatCode8() 
    {
        return treatCode8;
    }
    public void setTreatOpenid(String treatOpenid) 
    {
        this.treatOpenid = treatOpenid;
    }

    public String getTreatOpenid() 
    {
        return treatOpenid;
    }
    public void setTreatText(String treatText) 
    {
        this.treatText = treatText;
    }

    public String getTreatText() 
    {
        return treatText;
    }
    public void setTreatRemark(String treatRemark) 
    {
        this.treatRemark = treatRemark;
    }

    public String getTreatRemark() 
    {
        return treatRemark;
    }
    public void setTreatCaseid(Long treatCaseid) 
    {
        this.treatCaseid = treatCaseid;
    }

    public Long getTreatCaseid() 
    {
        return treatCaseid;
    }
    public void setTreatCaseuuid(String treatCaseuuid)
    {
        this.treatCaseuuid = treatCaseuuid;
    }

    public String getTreatCaseuuid()
    {
        return treatCaseuuid;
    }
    public void setTreatDoctorid(String treatDoctorid) 
    {
        this.treatDoctorid = treatDoctorid;
    }

    public String getTreatDoctorid() 
    {
        return treatDoctorid;
    }
    public void setTreatDoctorname(String treatDoctorname) 
    {
        this.treatDoctorname = treatDoctorname;
    }

    public String getTreatDoctorname() 
    {
        return treatDoctorname;
    }
    public void setTreatFrontpoint(Integer treatFrontpoint) 
    {
        this.treatFrontpoint = treatFrontpoint;
    }

    public Integer getTreatFrontpoint() 
    {
        return treatFrontpoint;
    }
    public void setTreatBackpoint(Integer treatBackpoint) 
    {
        this.treatBackpoint = treatBackpoint;
    }

    public Integer getTreatBackpoint() 
    {
        return treatBackpoint;
    }
    public void setTreatCreatetime(Date treatCreatetime) 
    {
        this.treatCreatetime = treatCreatetime;
    }

    public Date getTreatCreatetime() 
    {
        return treatCreatetime;
    }
    public void setTreatUpdatetime(Date treatUpdatetime) 
    {
        this.treatUpdatetime = treatUpdatetime;
    }

    public Date getTreatUpdatetime() 
    {
        return treatUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("treatId", getTreatId())
            .append("treatCode8", getTreatCode8())
            .append("treatOpenid", getTreatOpenid())
            .append("treatText", getTreatText())
            .append("treatRemark", getTreatRemark())
            .append("treatCaseid", getTreatCaseid())
            .append("treatCaseuuid", getTreatCaseuuid())
            .append("treatDoctorid", getTreatDoctorid())
            .append("treatDoctorname", getTreatDoctorname())
            .append("treatFrontpoint", getTreatFrontpoint())
            .append("treatBackpoint", getTreatBackpoint())
            .append("treatCreatetime", getTreatCreatetime())
            .append("treatUpdatetime", getTreatUpdatetime())
            .toString();
    }
}
